//
//  ViewControllerChooser.h
//  ToDo
//
//  Created by 张 霄鹤 on 10-1-27.
//  Copyright 2010 xhzhang. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "TweetsViewController.h"
#import "TweetDetailViewController.h"
#import "ReplyTweetViewController.h"
#import "AddAccountViewController.h"
#import "UserInfoViewController.h"
#import "SearchResultViewController.h"
#import "AuthorViewController.h"


#define VC_FRIENDS_LIST 0
#define VC_DETAIL_TWEET 1
#define VC_REPLY_TWEET 2

#define VC_ADD_ACCOUNT 3
#define VC_USER_INFO 4

#define VC_SEARCH_RESULT 5
#define VC_AUTH 6


@interface ViewControllerChooser : NSObject {
	TweetsViewController *friendList;
	TweetDetailViewController *detailVC;
	ReplyTweetViewController *replyVC;
	AddAccountViewController *addVC;
	UserInfoViewController *userVC;
	SearchResultViewController *srVC;
	AuthorViewController *auVC;
}

/**
 * 单态获取
 */
+ (ViewControllerChooser *)sharedChooser;

/**
 * 清除导航栏上面的内容
 * @param navigationBar
 *
 */
//+ (void)clearNavigationBar:(UINavigationBar *)navigationBar;

/**
 * 根据vid获取相应的视图
 * @param vid NSInteger 标记
 * @return UIViewController 视图
 */
- (UIViewController *)choose:(NSInteger)vid;

@end
